package demon2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 */
public class Text {
    public static void main(String[] args) {
        Animal.swim(new Dog("旺财",11));
        Animal.fly(new Duck("鸭子",11));
    }
}
